Re: [Kea-users] able to DROP both Windows 8.x and Windows 7 clients?

2023-09-05 Thread Darren Ankney
{ "name": "kea-dhcp4", "severity": "INFO", "output_options": [ { "output": "stdout" } ] } ] } } Thank

Re: [Kea-users] able to DROP both Windows 8.x and Windows 7 clients?

2023-09-06 Thread Darren Ankney
HI, I'm glad it worked for you! Thank you, Darren Ankney On Tue, Sep 5, 2023 at 10:42 PM wildgrass wrote: > > Thanks very much Darren. > You were right on. I was having trouble with the syntax of the "or" in > the test condition - where and whether to use double

Re: [Kea-users] Does Kea DHCP include the ability to create scope Exclusions, similar to Cisco and Windows AD?

2023-09-11 Thread Darren Ankney
Hi, You can have one or more pools. So you can break up your pools around address(s) that you don't want to allocate. See here: https://kea.readthedocs.io/en/kea-2.4.0/arm/dhcp4-srv.html#configuration-of-ipv4-address-pools Thank you, Darren Ankney On Sat, Sep 9, 2023 at 10:19 PM Stephen

Re: [Kea-users] kea and stongswan dhcp not working Posteingang

2023-09-11 Thread Darren Ankney
Thank you, Darren Ankney On Sat, Sep 9, 2023 at 4:51 PM Sascha Marcel Hacker via Kea-users wrote: > > I have a solution. > > This strongswan charon dhcp.conf is working: > dhcp { > > # Always use the configured server address. > # force_server_address = no > force_

Re: [Kea-users] Possible bug with Kea DHCP Server?

2023-09-11 Thread Darren Ankney
Hi Chib, Have a look at the log messages prior to the reboot. Make sure that the the '[hwtype=1 xx:xx:xx:xx:xx:xx]' and 'cid=[01:xx:xx:xx:xx:xx:xx]' match precisely. If they don't, then Kea will see this as a different client and will not find the lease. Thank you, Darren Ankney On Sun, Sep

Re: [Kea-users] is there any way to force, kea-dhcp4-server/kea-dhcp-ddns-server to use option 12 instead of, option 81?

2023-09-11 Thread Darren Ankney
o not send option 81? Thank you, Darren Ankney On Fri, Sep 8, 2023 at 5:27 PM Marc Richman wrote: > > I got somewhere but not where I wanted to be > > I managed to get option 81 to the correct value using the flex_option hook it > is a bit ugly but wireshark confir

Re: [Kea-users] Stork Agent install via bash script

2023-09-11 Thread Darren Ankney
Hi Ronald, I would happily share the contents of the file with you, but I am not able to find the file here: https://gitlab.isc.org/isc-projects/stork/-/find_file/master Try asking on stork-users (https://lists.isc.org/mailman/listinfo/stork-users) perhaps? Thank you, Darren Ankney On Thu

Re: [Kea-users] kea and stongswan dhcp not working Posteingang

2023-09-11 Thread Darren Ankney
ne but have to make a small edit in the configuration? That seems like an acceptable situation unless you plan to switch back and forth or run both simultaneously or something. Thank you, Darren Ankney -- ISC funds the development of this software with paid support subscriptions. Contact us at https

Re: [Kea-users] Raspbian / Raspberry OS and DDNS

2023-09-14 Thread Darren Ankney
ddns specific parameters you may want to investigate. Thank you, Darren Ankney On Thu, Sep 14, 2023 at 2:54 PM Lee Porte wrote: > > Hi all, > > I've recently migrated from ISC-DHCP-Server to ISC-Kea including DDNS. I have > noticed that the Pi's I have running on the network a

Re: [Kea-users] Possible to have no dhcp pool (only static reservations)

2023-09-15 Thread Darren Ankney
Hi Ronald, Absolutely you can leave out pools. You can then assign addresses only with host reservations. No other clients (without host reservations) will receive an IP from the subnet. Thank you, Darren Ankney On Fri, Sep 15, 2023 at 5:41 AM DDFR | Ronald Blaas wrote: > >

Re: [Kea-users] Stork Agent install via bash script

2023-09-08 Thread Darren Ankney
Hi Ronald, I believe that is related to this open GitLab issue: https://gitlab.isc.org/isc-projects/stork/-/issues/932 Thank you, Darren Ankney On Thu, Sep 7, 2023 at 9:42 AM DDFR | Ronald Blaas wrote: > > Hi all, > > Either I have misconfigured something or the scripts is

Re: [Kea-users] kea and stongswan dhcp not working Posteingang

2023-09-08 Thread Darren Ankney
Hi Sascha, I assume you see discovers from other clients? Can you share your Kea configuration? Be sure and redact any sensitive information. Can you share some logs of a working client (understand you have no logs of the Strongswan client)? Thank you, Darren Ankney On Fri, Sep 8, 2023

Re: [Kea-users] Missing features from dhcp-eval

2023-10-16 Thread Darren Ankney
See here for further information: https://kea.readthedocs.io/en/kea-2.4.0/arm/dhcp4-srv.html#next-server-siaddr Thank you, Darren Ankney On Sun, Oct 15, 2023 at 4:41 PM Vladimir Nikolic wrote: > > Thanks Darren. > > I'm trying to set up custom next-server and boot-file-name by setti

Re: [Kea-users] DDNS limitations - ddns-qualifying-suffix vs domain-name

2023-10-16 Thread Darren Ankney
Hi Vladimir, The DHCPv4 domain-name option (15) isn't meant for use with ddns. It is a search domain that the client should use when performing name resolution. See: https://www.rfc-editor.org/rfc/rfc2132#section-3.17 You can set ddns-qualifying-suffix at the global, shared-network and subnet

Re: [Kea-users] Missing features from dhcp-eval

2023-10-15 Thread Darren Ankney
Hi, I'm not entirely sure what you are asking here. Do you mean that you need to add a client to a class based on what subnet was selected? Thank you, Darren Ankney On Fri, Oct 13, 2023 at 12:36 PM Vladimir Nikolic via Kea-users wrote: > > Hi, > > We are struggling with the mi

Re: [Kea-users] New Project: Kea Quick Config

2023-10-25 Thread Darren Ankney
86_64 (x86_64) Please let me know if you have any questions. Thank you, Darren Ankney - Original Message - From: "Darren Ankney" To: "kea-users" Sent: Wednesday, August 2, 2023 10:12:55 AM Subject: New Project: Kea Quick Config Hi all, I have created a PHP/javascript

Re: [Kea-users] Upper End Bounds

2023-10-31 Thread Darren Ankney
d) you should be fine. See more information about performance here: https://kea.readthedocs.io/en/kea-2.4.0/arm/dhcp4-srv.html#multi-threading-settings-with-different-database-backends and here: https://reports.kea.isc.org (test results) Thank you, Darren Ankney -- ISC funds the development of th

Re: [Kea-users] KEA DHCPv6 server ignores relayed solicitations

2023-10-28 Thread Darren Ankney
I don’t see any logging configured. Have a look at the logging section in documentation. There are also a couple articles about logging on kb.isc.org. You might get some logging without logging configured but you probably want debug level logging setup to troubleshoot this problem. On Fri, Oct

Re: [Kea-users] KEA DHCPv6 server ignores relayed solicitations

2023-10-30 Thread Darren Ankney
} ], "severity": "DEBUG", "debuglevel": 99 } ] It would be interesting to see if anything at all is logged when a packet is received. Thank you, Darren Ankney On Mon, Oct 30, 2023 at 7:50 AM Oskar Wåglund via Kea-users wrote:

Re: [Kea-users] Converting a dhcpd option to kea

2023-10-23 Thread Darren Ankney
;name": "fc_ip", "code": 200, "data": "10.1.1.1" }, { "space": "Nutanix", "name": "api_key", "code": 201, "data": &qu

Re: [Kea-users] Migration to Kea

2023-09-23 Thread Darren Ankney
lient-update" in Kea. See here: https://kea.readthedocs.io/en/kea-2.4.0/arm/dhcp4-srv.html#supported-parameters for further information about this parameter. Thank you, Darren Ankney On Fri, Sep 22, 2023 at 5:16 PM LIU Chris via Kea-users wrote: > > Classified as: {OPEN} > > >

Re: [Kea-users] DHCP server on Docker Swarm

2023-09-26 Thread Darren Ankney
Hi Michael, Perhaps this might be of some use? https://gitlab.isc.org/isc-projects/kea-docker Thank you, Darren Ankney On Tue, Sep 26, 2023 at 10:23 AM mtint hpc wrote: > > Hello > > Looking to get Kea DHCP running to Docker Swarm. Is this possible, and > anything else I need

Re: [Kea-users] kea-leases4.csv decode

2023-09-27 Thread Darren Ankney
nd spread throughout the document. There may be a better document somewhere that specifically defines this lease log file columns, but I could not find it. Thank you, Darren Ankney On Wed, Sep 27, 2023 at 1:13 PM LIU Chris via Kea-users wrote: > > Classified as: {OPEN} > > > For kea l

Re: [Kea-users] Migration to Kea

2023-09-26 Thread Darren Ankney
h.html?q=ddns_keywords=yes=default). Final thought: I encourage you to read the ARM as you are transitioning to Kea. Kea is very different from ISC DHCP. You may not have much success if you do not take the time to understand it. Thank you, Darren Ankney -- ISC funds the developmen

Re: [Kea-users] DDNS for Migration to Kea

2023-09-26 Thread Darren Ankney
Hi Chris, Please see here to get started with tsig keys in Kea: https://kea.readthedocs.io/en/kea-2.4.0/arm/ddns.html#tsig-key-list Thank you, Darren Ankney On Mon, Sep 25, 2023 at 3:46 PM LIU Chris via Kea-users wrote: > > Classified as: {OPEN} > > I am migrating to kea from old

Re: [Kea-users] ARM port suggestions for HA+MT mode when Kea is serving both V4 and V6

2023-09-26 Thread Darren Ankney
to illustrate a specific setting of "parked-packet-limit" (https://kea.readthedocs.io/en/kea-2.4.0/arm/hooks.html#parked-packet-limit). I didn't re-read the entire HA section. Perhaps it mentions the need to use different ports or addresses between v4 and v6 (and control agent)? Thank yo

Re: [Kea-users] Lease Reclamation

2023-10-07 Thread Darren Ankney
he lines in the documentation (and seems a sensible way to design the feature). Thank you, Darren Ankney On Fri, Oct 6, 2023 at 5:19 PM Scott Rakow wrote: > > Darren, > Thanks for the reply. I guess I should restate my question a bit better. > > If both of the "max-reclaim-

Re: [Kea-users] Lease Reclamation

2023-10-06 Thread Darren Ankney
ntees the presence of 5-second-long periods during which the server remains responsive to DHCP queries and does not perform lease reclamation." So, there would be 5 seconds or whatever you set in "reclaim-timer-wait-time" between each reclamation. Thank you, Darren Ankney On Thu, Oc

Re: [Kea-users] Kea 2.4.0 and duplicate host reservations not working as documented

2023-10-22 Thread Darren Ankney
le, it would be best to assign a separate address for each interface on the system. Thank you, Darren Ankney On Sun, Oct 22, 2023 at 8:43 AM Kevin P. Fleming wrote: > > I've got this in my config file for the DHCPv4 server (using Kea 2.4.0: > > "Dhcp4": { >

Re: [Kea-users] KEA MySQL Database Circuit ID Storage

2023-10-21 Thread Darren Ankney
Hi Cody, Please have a look at the forensic logging hook for a way to log circuit IDs with leases: https://kea.readthedocs.io/en/kea-2.4.0/arm/hooks.html#libdhcp-legal-log-so-forensic-logging Thank you, Darren Ankney On Fri, Oct 20, 2023 at 9:47 AM Cody Shultz via Kea-users wrote: > >

Re: [Kea-users] Migration Questions

2023-10-21 Thread Darren Ankney
se that stores its state in CSV file. > "type": "memfile", > "persist": true, > "name": "/etc/kea/dhcpd-leases-kea.csv", > "lfc-interval": 3600 > }, Perhaps there is a permission issue? De

Re: [Kea-users] Configuring HA with multiple interfaces on both the appliances

2023-10-21 Thread Darren Ankney
Hi Kraishak, In the URL for the primary server set the URL including the IP you want it to listen on for the primary. Same on the secondary using the IP you want the secondary to listen on. It doesn't matter if you are serving DHCP on the same IP or not. Thank you, Darren Ankney On Thu, Oct

Re: [Kea-users] DDNS limitations - ddns-qualifying-suffix vs domain-name

2023-10-21 Thread Darren Ankney
ames that you wanted to ignore a ddns-qualifying-suffix setting somehow to have it simultaneously set to some value and not apply to all hostnames in that block. Thank you, Darren Ankney On Tue, Oct 17, 2023 at 2:50 AM Vladimir Nikolić wrote: > > Thanks Darren. > > If ‘ddns-qualifying-subnet’

Re: [Kea-users] Issue installing Kea DHCP4 on Ubuntu 22 with Postgresql 16

2023-10-21 Thread Darren Ankney
the API to retrieve some leases). Keep an eye on logs for any error messages. Thank you, Darren Ankney On Tue, Oct 17, 2023 at 2:35 PM Ben Bridges wrote: > > Hi, > > > > I am trying to install the Kea DHCP4 server on Ubuntu 22.04 with PostgreSQL > v16. When I try to creat

Re: [Kea-users] DDNS limitations - ddns-qualifying-suffix vs domain-name

2023-10-22 Thread Darren Ankney
what the administrator intends to happen. Thank you, Darren Ankney On Sun, Oct 22, 2023 at 10:33 AM Vladimir Nikolic wrote: > > Hi Darren, > > > There would have to be some way to flag hostnames that you wanted to > > ignore a ddns-qualifying-suffix setting somehow to have

Re: [Kea-users] Kea 2.4.0 and duplicate host reservations not working as documented

2023-10-22 Thread Darren Ankney
Hi Kevin, I thought there was already an open or closed issue about this, but I didn't find one... Thank you, Darren Ankney On Sun, Oct 22, 2023 at 10:32 AM Kevin P. Fleming wrote: > > On Sun, Oct 22, 2023, at 10:17, Darren Ankney wrote: > > It then goes on to print details about

Re: [Kea-users] Kea-users Digest, Vol 112, Issue 24

2023-10-23 Thread Darren Ankney
Hi, > Perhaps there is a permission issue? Depending how you installed, Kea > may be running as an unprivileged user (such as _kea) who may not have > access to the .csv file to read on startup. > > Thank you, > > Darren Ankney > > — Darren, you were correct on this.

Re: [Kea-users] Missing features from dhcp-eval

2023-10-15 Thread Darren Ankney
! Thank you, Darren Ankney On Sun, Oct 15, 2023 at 11:40 AM Vladimir Nikolic wrote: > > Let's say I want to send custom next-server and filename to PXE clients, > depending on subnet in which they are located. > > In dhcpd, I define a new option, e.g.: > option something-new

Re: [Kea-users] kea-dhcp remote syslog

2023-10-24 Thread Darren Ankney
Hi Ronald, You can have multiple output options like below, if you prefer. See here: https://kea.readthedocs.io/en/kea-2.4.0/arm/logging.html#the-output-string-option for details about syslog output. The below edited configuration with multiple outputs will output the logs from kea-dhcp4

Re: [Kea-users] HA use-cases for large enterprises?

2023-08-22 Thread Darren Ankney
d using database or memfile. In the event of catastrophic failure, this passive backup could be turned into an active server by changing "this-server-name" in the configuration. You could have several of these backups, I believe. Failing back would be a small challenge, however, as the

Re: [Kea-users] Config backend and Rest API

2023-08-28 Thread Darren Ankney
OT premium hook: https://kea.readthedocs.io/en/kea-2.4.0/arm/agent.html It is an optional Kea component that allows API communication over IP rather than directly to the unix socket of the appropriate Kea component. You can see each of these hooks in use at the aforementioned article. Thank you, Dar

Re: [Kea-users] DHCPv6 Option 37

2023-08-26 Thread Darren Ankney
e storage involved (i.e., parsing the debug log and saving the results in MariaDB database), but I was only able to achieve about 300 leases per second without the processing of the debug logs falling behind. This was all on the same hardware with a low end quad core xenon processor and SSD storage.

Re: [Kea-users] DHCPv4 Packet Drop Question

2023-11-08 Thread Darren Ankney
Hi, If you are running 2.4.0, you can ignore the server identifier: https://kea.readthedocs.io/en/kea-2.4.0/arm/dhcp4-srv.html#ignore-dhcp-server-identifier which will cause the server to answer all DHCP queries regardless of the server identifier. Thank you, Darren Ankney On Wed, Nov 8, 2023

Re: [Kea-users] upgrade kea with db backend

2023-11-08 Thread Darren Ankney
Hi Wagner, You must use the exact schema that matches the Kea version you are running. There is no backwards compatibility. If Kea finds the wrong schema version, it will refuse to run. Thank you, Darren Ankney On Wed, Nov 8, 2023 at 8:47 AM Wagner Vlastimil - HZS Ústeckého kraje wrote

Re: [Kea-users] Kea-users Digest, Vol 113, Issue 4

2023-11-09 Thread Darren Ankney
Hello, Could you provide logs of this behavior? It is difficult to know what is happening without seeing the logs. Thank you, Darren Ankney On Thu, Nov 9, 2023 at 11:16 AM JT ISC wrote: > > Hi Darren, > > Yes, I am running version 2.4.0. I just got "ignore-dhcp-

Re: [Kea-users] Can KEA trigger webhooks?

2022-12-22 Thread Darren Ankney
I believe the short answer would be no. However, as you noted, there is the call to run an external script. You might be able to do something with that. If you are just wanting lease information out of Kea when it allocates a lease to someone, have a look at the HA hook

Re: [Kea-users] Kea-Lease documentation

2022-12-22 Thread Darren Ankney
In kea that is handled periodically by kea-lfc (https://kea.readthedocs.io/en/kea-2.2.0/man/kea-lfc.8.html). Kea executes this process periodically, but you can run it yourself as well, if you like. > On Dec 22, 2022, at 5:33 AM, Kraishak Mahtha wrote: > > Hi Marcin, > > Thanks for the

Re: [Kea-users] Can KEA trigger webhooks?

2022-12-23 Thread Darren Ankney
role": "backup" }] }] } }], JSON will be sent to http://192.168.56.66:8000 <http://192.168.56.66:8000/> and http://192.168.56.99:8000/ each time something happens (new lease, renewal, release) So you could have some type of application listen a

Re: [Kea-users] Some duplicates leases on my Lease File

2023-01-05 Thread Darren Ankney
can you share any relevant configurations involving an example device that is exhibiting this behavior? > On Jan 5, 2023, at 4:15 PM, Marcos Renato da Silva Junior > wrote: > > Hi, > > I seeing some duplicates leases on my Lease File (kea-leases4.csv), > apparently one with device hostname

Re: [Kea-users] Monitoring a Kea cluster

2023-01-03 Thread Darren Ankney
}, 3) you might change “Wants=“ to “Requires=“ as apparently “Wants=“ will let the kea service still start even if the network-online.target hasn’t properly started. Though you might be better served by #1 above. > On Jan 3, 2023, at 3:20 AM, Stefan G. Weichinger wrote: > > Am 2

Re: [Kea-users] Some duplicates leases on my Lease File

2023-01-08 Thread Darren Ankney
], > "reservations": [ > { "hostname": "sltecpc3", "hw-address": "00:e1:4c:11:01:d6", > "ip-address": "192.168.2.151” } This is what I was looking for. I think what is happening is Kea is first logging

Re: [Kea-users] Load-Balancing Network issue between Relay and Kea

2023-01-02 Thread Darren Ankney
Assuming the configuration on “server1” is the same excepting “this-server-name”, you don’t seem to have a configuration issue. How many clients are going un-acked? Is this DHCPv4 or DHCPv6? The behavior you are expecting is influenced by the 'the values of the “secs” field’ in DHCPv4.

Re: [Kea-users] Monitoring a Kea cluster

2022-12-27 Thread Darren Ankney
What we did, 20+ years ago, was implement a rudimentary DHCPv4 client in perl as a module for the monitoring software we use. We only implemented “renew” functionality. On all of the DHCP servers that we wanted to monitor, we had the subnet of the monitoring cluster configured as a pool.

Re: [Kea-users] Monitoring a Kea cluster

2022-12-27 Thread Darren Ankney
I had a thought regarding how you could implement some sort of monitoring solution for DHCPv6. I don’t think you could implement a client but it should be possible to pretend to be a relay agent to perform a monitoring function for DHCPv6 like I described for DHCPv4. I think that is the way

Re: [Kea-users] KEA sends valid-lifetime = 0

2022-12-02 Thread Darren Ankney
ed veronique since the issue we > encounter is similar. > > In this case both IA_ADDR's IP's are the same, one with correct lifetime, > and one with zero lifetime, which may cause the client to glitch (which > happens in my case) > > > On Fri, Dec 2, 2022 at 3:35 PM Da

Re: [Kea-users] ipv6 being ignored

2022-12-09 Thread Darren Ankney
Try removing the "relay" statement as you don't need it as far as I can tell. You are supposed to only need to use that if you need to select a different subnet than what matches the IP in the "Link address" option of the relayed packet. But you have the same subnet configured as what you have

Re: [Kea-users] Hook Development - Rust

2022-12-09 Thread Darren Ankney
s-python-faster-and-lighter-than-c > and type safety). I assume something is wrong with how I'm linking against > Kea, but I don't know. Unfortunately, the debug log during hook loading is > not terribly helpful. I am confident it's possible, though. > > > > __

Re: [Kea-users] Hook Development - Rust

2022-12-09 Thread Darren Ankney
I would prefer to > write a "native" one. > > I sure wish it would have been implemented differently, as something like > gRPC + protobuf! > > > ____ > From: Darren Ankney > Sent: Thursday, December 8, 2022 7:34 PM > To: k

Re: [Kea-users] DHCPv6 option 16 and built in client class

2022-12-06 Thread Darren Ankney
ot;: "CLASS3" } ], "pd-pools": [ { "prefix": "2001:0:2::", "prefix-len": 48,

Re: [Kea-users] Example of how to combine host reservations and class tests?

2022-12-05 Thread Darren Ankney
Nathan, Something like the below would work. However, the test for being a member of office-printers or public-printers would need to be changed. I didn't know what parameter would cause that to be the case so I just used an example. Also, you shouldn't need member KNOWN in your test unless you

Re: [Kea-users] subclass handling in kea-dhcp

2022-12-14 Thread Darren Ankney
“subclass” in ISC DHCP was a “speed hack” according to the manual pages. Basically, you are going to want to create a class called “denyClients” adding the macs that you want to deny to the class (https://kea.readthedocs.io/en/kea-2.2.0/arm/classify.html) possibly something like the below:

Re: [Kea-users] PD-Pool hook events

2022-12-15 Thread Darren Ankney
> > When the PD-pool lease gets renewed the hook does not have the single IP > lease info which is used as nexthop for PD route. Did the client renew the single IP lease at the same time or did the client only renew the prefix perhaps renewing the single IP lease at a different time? --

Re: [Kea-users] KEA sends valid-lifetime = 0

2022-12-02 Thread Darren Ankney
https://www.rfc-editor.org/rfc/rfc3315#section-22.6 "In a message sent by a server to a client, the client MUST use the values in the preferred and valid lifetime fields for the preferred and valid lifetimes." I believe that the server is telling the client to not use the address with the 0

Re: [Kea-users] Hook Development - Rust

2022-12-08 Thread Darren Ankney
If nothing else, perhaps you could make use of the run_script hook: https://kea.readthedocs.io/en/kea-2.2.0/arm/hooks.html#run-script-run-script-support-for-external-hook-scripts You could probably write the "script" in whatever language you want, including rust, or at least that's the way I

Re: [Kea-users] HA with kea-dhcp4: beginner questions

2022-11-23 Thread Darren Ankney
was the primary). I guess that may have been the point that your onsite administrator unplugged adc1. Is there anything that is not labeled kea-dhcp4.ha-hooks in the logfile earlier than this? On Wed, Nov 23, 2022 at 6:52 AM Stefan G. Weichinger wrote: > > Am 23.11.22 um 12:43 schrieb Darren

Re: [Kea-users] HA with kea-dhcp4: beginner questions

2022-11-23 Thread Darren Ankney
> Yes, about that. I copied that block from the docs, I assume: > > https://kea.readthedocs.io/en/kea-2.3.2/arm/logging.html#example-logger-configurations > > Currently I have logs until around 1am back. But only with severity "INFO" > > I increase "maxsize" to its default of 10 MB and "maxver" to

Re: [Kea-users] HA with kea-dhcp4: beginner questions

2022-11-23 Thread Darren Ankney
I just noticed your date/time pattern: %d{%j %H:%M:%S.%q} %c %m You might want to change to %D{%Y-%m-%d %H:%M:%S.%q %Z} %-5p [%c/%i.%t] %m (or at least capitalize the %D as I think the content in {} is a description of the output you want from %D). You can also add a %Z in the format message

Re: [Kea-users] HA with kea-dhcp4: beginner questions

2022-11-24 Thread Darren Ankney
> Aside from the logs: > > no problems since yesterday. I think I won't be able to find the reason > for that outage anymore. Perhaps not, but you should have some insight into the next one (if it occurs)! -- ISC funds the development of this software with paid support subscriptions. Contact us

Re: [Kea-users] Assigning unique /64 to each CPE for IA_NA

2022-11-29 Thread Darren Ankney
On Tue, Nov 29, 2022 at 6:29 AM Xuo Guoto via Kea-users wrote: > > Thanks for the suggestion, I have made changes as suggested. > > --- Original Message --- > On Tuesday, November 29th, 2022 at 4:19 PM, Darren Ankney > wrote: > > > "pools": [ >

Re: [Kea-users] Assigning unique /64 to each CPE for IA_NA

2022-11-29 Thread Darren Ankney
On Tue, Nov 29, 2022 at 4:28 AM Xuo Guoto via Kea-users wrote: > > Thanks for your reply, Darren. > > I went through the configuration and made a similar configuration to give it > a try. My objective was to get a IA_NA address, with each client getting a > single address, bu from different /64

Re: [Kea-users] option-def

2022-11-29 Thread Darren Ankney
On Tue, Nov 29, 2022 at 7:26 PM Alan Batie wrote: > failed to initialize Kea server: configuration error using file > '/etc/kea/kea-dhcp4.conf': /etc/kea/kea-dhcp4.conf:259.9-20: got > unexpected keyword "option-def" in subnet4 map. I think that option-def is only valid at the global level or

Re: [Kea-users] Assigning unique /64 to each CPE for IA_NA

2022-11-28 Thread Darren Ankney
The simplest answer is found in the documentation: https://kea.readthedocs.io/en/kea-2.2.0/arm/dhcp6-srv.html#subnet-and-prefix-delegation-pools though your exact implementation may require slightly different configurations (example: multiple prefix pools). Example from the documentation shown

Re: [Kea-users] DHCPv6 option 16 and built in client class

2022-12-01 Thread Darren Ankney
I don't presently have DHCPv6 setup in my home network, but my kea server for DHCPv4 seems to be assigning the clients to the vendor classes: 2022-12-01 19:22:40.600 DEBUG [kea-dhcp4.packets/4325.139964547753856] DHCP4_QUERY_DATA [hwtype=1 5c:a6:e6:46:d1:8c], cid=[01:5c:a6:e6:46:d1:8c],

Re: [Kea-users] Ping timeout and one lease per client

2022-12-02 Thread Darren Ankney
I don't think there is an analog to the ping test, but there is a "limits" library: https://kea.readthedocs.io/en/kea-2.2.0/arm/hooks.html#limits-limits-to-manage-lease-allocation-and-packet-processing It is a hook library that does require a support subscription to access, but there is a

Re: [Kea-users] HA with kea-dhcp4: beginner questions

2022-11-23 Thread Darren Ankney
On Wed, Nov 23, 2022 at 6:09 AM Stefan G. Weichinger wrote: > > > Greetings, I subscribed to this list 5 minutes ago because this morning > we had a event I can't yet fully explain. > > A few weeks ago I set up a kea-HA-cluster of 2 Debian-11 nodes using the > 2.3.2 packages from the isc-repos. >

Re: [Kea-users] IPV6 client gets the wrong IP for sometime after a reboot

2023-01-17 Thread Darren Ankney
The trouble is that the server has no way to know it’s the same client if the DUID is unstable. If the mac address is available, you can assign a reservation based on that. Then it wouldn’t matter what DUID the client provides. This is the same behavior as in ISC DHCP concerning DHCPv6. It

Re: [Kea-users] lease4-get-all is giving stale data

2023-01-25 Thread Darren Ankney
If the lease is still active (ie: the expire time is in the future), regardless of if the subnet is configured, I think it will still appear in the list. I don’t believe that LFC checks your configuration or anything. It is just meant to keep your leases file from growing uncontrollably. I

Re: [Kea-users] Problem during running DHCP server on VLAN interface

2023-01-28 Thread Darren Ankney
I’m not sure if you can listen directly on a VLAN. I don’t seem to find the word VLAN in the ARM (https://kea.readthedocs.io/en/kea-2.2.0/). Try: $ ip link show 1: lo: mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd

Re: [Kea-users] Disable multicast Listening

2023-01-04 Thread Darren Ankney
I’m assuming we are talking about DHCPv6 here. I don’t believe there is a way to cause the server to not listen to the multicast address. I believe RFC 8415 requires that the server listen on that address. You could limit the server to listening on the loopback interface. Then you could use

Re: [Kea-users] Kea Upgrade Question

2023-01-04 Thread Darren Ankney
You can directly upgrade. If you are using database backend, be sure and check the version there as well. > On Jan 3, 2023, at 8:16 PM, JT ISC wrote: > > Hello, > > I might be overlooking the documentation somewhere, but I wanted to be sure. > > I have been running Kea 2.0.1. Can you

Re: [Kea-users] Kea System Requirements

2023-01-04 Thread Darren Ankney
That is highly dependent on the number of clients you will be serving. There really is no easy way to answer that question. Have a look at dhcperf. you can use that to simulate the expected client load and see if your server can handle it. > On Jan 3, 2023, at 8:20 PM, JT ISC wrote: > >

Re: [Kea-users] Kea MySQL & Advanced Features Requirements

2023-01-04 Thread Darren Ankney
I don’t know for sure, but you could certainly download the package for your system and check dependancies. If MySQL / MariaDB shows up, then it was compiled with such support: https://cloudsmith.io/~isc/repos/kea-2-2/groups/ > On Jan 3, 2023, at 8:28 PM, JT ISC wrote: > > I have a

Re: [Kea-users] Reverse DDNS name syntax (INTERNAL)

2023-03-16 Thread Darren Ankney
the ARM doesn't say it won't. It doesn't say it will either. I looked around and was not able to find an RFC that specifies setting up the domain the way you did. I found this one: https://www.rfc-editor.org/rfc/rfc2317 that seems to suggest that 0/18.128.40.10.in-addr.arpa is a standard. I saw

Re: [Kea-users] Subnet_cmds Subnet ID gets reset on service restart

2023-03-14 Thread Darren Ankney
ools": [ > { > "option-data": [ ], > "pool": "fda0::34:0:0:8053:0/112" > } > ], > "preferred-lifetime": 4294967295, > "rapid-commit": true, > "

Re: [Kea-users] DHCP disable NETBIOS

2023-03-24 Thread Darren Ankney
Neil, This looks fine. However, I think you have something extra in here that isn't needed. I think you can do it like this (i could be wrong as i have not tested this): "option-def": [ { "name": "disable-netbios", "code": 1, "space":

Re: [Kea-users] Subnet_cmds Subnet ID gets reset on service restart

2023-03-13 Thread Darren Ankney
Hello, How are you having the subnets persist across restarts? Are you executing a config-write? What order are the subnets ending up in on the drive after that? Do they have IDs listed? If not, I'm sure it will generate them in the order they are found in the configuration file. Also, you

Re: [Kea-users] Lease time and DNS TTL (OPEN)

2023-03-22 Thread Darren Ankney
Not yet but there is an issue open for such a configuration option: https://gitlab.isc.org/isc-projects/kea/-/issues/225 On Wed, Mar 22, 2023 at 3:43 AM Weisteen Per wrote: > > Hi > > I'm using DDNS for updating both forward and reverse zones. According to the > docs the TTL value is calculated

Re: [Kea-users] Reverse DDNS name syntax (INTERNAL)

2023-03-18 Thread Darren Ankney
- he is in full control. The only question is what is supported by what. I understand why he doesn't want to setup 64 zones if he can help it :) On Fri, Mar 17, 2023 at 7:41 PM Simon wrote: > > Darren Ankney wrote: > > > AM Weisteen Per wrote: > > >> I'm

Re: [Kea-users] CIDR or range notation in relay lists when using shared-networks?

2023-02-22 Thread Darren Ankney
Hello Klaus, In addition to what Peter said, another option would be to use shared networks and add the subnet for relays along with the subnet of addresses that you wish to allocate to the clients to a shared network. See:

Re: [Kea-users] CIDR or range notation in relay lists when using shared-networks?

2023-02-23 Thread Darren Ankney
t domain. > > cheers, > Klaus > > On Thu, Feb 23, 2023 at 2:57 AM Darren Ankney wrote: >> >> Hi Klaus, >> >> So to be clear (with a hypothetical example), 192.168.120.16 might >> need to serve distinct network "A" with one or more subnets and &

Re: [Kea-users] CIDR or range notation in relay lists when using shared-networks?

2023-03-02 Thread Darren Ankney
t;pools": [{"pool": "192.168.164.11-192.168.164.254"}], > "subnet": "192.168.164.0/24" > }, > { > "id": , > "option-data": [{"data": "192.168.182.1", "name": "routers&

Re: [Kea-users] Getting Started: Dual-stack Dynamic DNS Updates

2023-03-03 Thread Darren Ankney
Hi Troy, see responses in-line On Fri, Mar 3, 2023 at 4:24 PM Troy Telford wrote: > > I’ve been successful so far in getting Kea to serve IPv4 with both forward & > reverse dynamic DNS. Thus far I’ve only used SLAAC and static zone files for > IPv6 in DNS in my test/educational network. (A

Re: [Kea-users] unable to forward command to the dhcp4 service: Connection refused. The server is likely to be offline

2023-03-06 Thread Darren Ankney
h the failover name being > specified but I don't see any such info in the kea-leas file > > Thanks > Kraishak > > On Mon, Mar 6, 2023 at 4:23 PM Darren Ankney wrote: >> >> Looks like your socket locations don't match between the kea config >> and the ctrl agent conf

Re: [Kea-users] keas-dhcp failover and HA

2023-03-06 Thread Darren Ankney
neither of those configs are valid. Looks like ChatGPT made up some things there. See: https://kea.readthedocs.io/en/kea-2.2.0/arm/hooks.html#ha-high-availability-outage-resilience-for-kea-servers Take a look at hot-standby as that is the easiest mode to configure and operate. On Mon, Mar 6,

Re: [Kea-users] unable to forward command to the dhcp4 service: Connection refused. The server is likely to be offline

2023-03-06 Thread Darren Ankney
Looks like your socket locations don't match between the kea config and the ctrl agent configuration. Those are filenames, so they are going to need to match exactly. Kea is in the driver's seat there as it actually creates the file. the ctrl agent "talks" to kea through such file. example,

Re: [Kea-users] CIDR or range notation in relay lists when using shared-networks?

2023-02-23 Thread Darren Ankney
.120.0/24", "192.168.152.0/26", "192.168.184.0/26", > "192.168.216.0/25", "192.168.252.0/25", "192.168.88.0/24"] > """ > > or perhaps more accurately as this: > > """ > ["192.168.120.10-

Re: [Kea-users] CIDR or range notation in relay lists when using shared-networks?

2023-02-24 Thread Darren Ankney
n as additional context that each device is given > a static IP which is unchanged over the lifetime of the hardware; it's a > large data center environment where dynamic address assignments would wreak > havoc, so IPs in the pool are never offered to more than one MAC address. > >

Re: [Kea-users] Migrate to Kea from non-ISC DHCP server

2023-04-13 Thread Darren Ankney
the file. If you need specific options to appear in the lease file, it is possible to use perfdhcp to generate most of them (even if you have to create the hex yourself). Thank you, Darren Ankney On Wed, Apr 12, 2023 at 5:19 PM Rachael Wilson wrote: > Hi, I would like to migrate a few thousand D

Re: [Kea-users] option 43 coming back blank

2023-04-15 Thread Darren Ankney
also ignored by Kea. Thank you, Darren Ankney On Fri, Apr 14, 2023 at 7:44 PM Alan Batie wrote: > > I'm trying to migrate from isc-dhcp to kea, however the option 43 > responses are coming back blank (they are actually getting sent, just > with an empty value field): > > 20

Re: [Kea-users] kea-dhcp failover not working

2023-04-20 Thread Darren Ankney
mode so you were forced to load balance (which introduced problems with the sharing of addresses between the servers sometimes). Thank you, Darren Ankney On Thu, Apr 20, 2023 at 1:20 AM Kraishak Mahtha wrote: >> >> >> Hi Dareen, >> >> Thanks for sharing the answers,

  1   2   3   >